package com.kedacom.testlego.model.bean

import com.google.gson.annotations.JsonAdapter
import com.google.gson.annotations.Since

/**
 * <pre>
 *     作者：Caowj
 *     邮箱：caoweijian@kedacom.com
 *     日期：2021/7/23 12:55
 * </pre>
 */

data class ResultInfo(
    var children: List<Children>,
    var code: String,
    var id: String,
    var level: Int,
    var name: String,
    var parentId: String,
    var path: String,
    var pcode: String,
    var sortIndex: Int,
    var status: Int,
    var tenantId: String
)

data class Children(
    var code: String,
    var createTime: Long,
    var excludeType: Int,
    var id: String,
    var initials: String,
    var level: Int,
    var name: String,
    var parentId: String,
    var path: String,
    var pcode: String,
    var policeStandards: List<PoliceStandard>,
    var sortIndex: Int,
    var status: Int,
    var tenantId: String
)

data class PoliceStandard(
    var id: Int,
    var policeStandardName: String,
    var sourceId: Int,
    var standardAreaList: List<StandardArea>,
    var standardExpandList: List<StandardExpand>,
    var standarderDepartmentCode: String,
    var standarderDepartmentName: String,
    var standarderName: String,
    var version: Int
)

data class StandardArea(
    var coordinate: String,
    var createdBy: String,
//    var createdTime: String,
    var id: Int,
    var parentId: Int,
    var sourceId: Int,
    var standardColor: String,
    var type: String,
    var updatedBy: String,
//    var updatedTime: String,
    var version: Int
)

data class StandardExpand(
    var id: Int,
    var parentId: Int,
    var policeCode: String,
    var policeName: String,
    var sourceId: Int,
    var version: Int
)